<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title><ui:insert name="title">Default Title</ui:insert></title>
<h:outputStylesheet name="css/jsfcrud.css"/>
    </h:head>

    <h:body>
        <h:form>
            <h:graphicImage value="/resources/imagenes/fireball.jpg" height="100" width="100%"></h:graphicImage>
        <p:menubar>  
        <p:submenu label="Empresa">  
            <p:submenu label="ACTIVO" icon="ui-icon-contact">  
                <p:menuitem value="Registrar" action="#{redirectionerController.activo()}" />  
                <p:menuitem value="Listar" url="#" />  
            </p:submenu>  
            <p:submenu label="PRODUCTO" icon="ui-icon-contact">  
                <p:menuitem value="Registrar"    action="#{redirectionerController.producto()}"/>  
                <p:menuitem value="Listar" action="#" />  
                
            </p:submenu>  
            <p:submenu label="INSUMO" icon="ui-icon-contact">  
                <p:menuitem value="Registrar" action="#{redirectionerController.insumo()}" />  
                <p:menuitem value="Listar" url="#" />  
            </p:submenu>  
            <p:submenu label="CARGO" icon="ui-icon-contact">  
                <p:menuitem value="Registrar" action="#{redirectionerController.cargo()}" />  
                <p:menuitem value="Listar" url="#" />  
            </p:submenu>  
            <p:submenu label="SERVICIO" icon="ui-icon-contact">  
                <p:menuitem value="Registrar" action="#{redirectionerController.servicio()}" />  
                <p:menuitem value="Listar" url="#" />  
            </p:submenu>
               <p:submenu label="BALANCE INICIAL" icon="ui-icon-contact">  
                <p:menuitem value="Registrar" action="#{redirectionerController.balanceInicial()}" />  
                <p:menuitem value="Listar" url="#" />  
            </p:submenu>
        </p:submenu>  
  
       <p:submenu label="Simulación">
        
            <p:submenu label="Modelo" icon="ui-icon-contact">
                    <p:menuitem value="Nuevo" action="#{redirectionerController.crearModelo()}" />
                    <p:menuitem value="Consultar" action="#{redirectionerController.listarModelo()}" />
            </p:submenu>  
                
        </p:submenu>
    </p:menubar>
            
        </h:form>
    </h:body>

</html>
